//
//  CustomBaseMessageTableViewCell.h
//  WeWin
//
//  Created by lifayu on 2018/9/26.
//  Copyright © 2018年 lifayu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <UIView+BlocksKit.h>
#import "CSListModel.h"

#define MessageCellPadding  16.0
#define MaxBubbleViewWidth  ScreenWidth - 112
#define MinBubbleViewHeight  24 + 20

@class CustomBaseMessageTableViewCell;



@interface CustomBaseMessageTableViewCell : UITableViewCell

@property (strong, nonatomic) UIImageView *portraitImageView;
@property (strong, nonatomic) UILabel *nickNameLabel;

@property (strong, nonatomic)  CSModel *messageModel;

+ (CGFloat)cellHeightForMessageModel:(CSModel *)messageModel;

@end
